<template>
    <el-form label-width="130px" v-model="cardSearchParams" style="margin: 10px">
        <el-row>
            <el-col :span="12">
                <el-form-item label="合规卡编号" props="cardCode_">
                    <el-input name="合规卡编号" v-model="cardSearchParams.cardCode_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="条款编号" props="termCode_">
                    <el-input name="条款编号" v-model="cardSearchParams.termCode_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="条款号" props="termId_">
                    <el-input name="条款号" v-model="cardSearchParams.termId_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="条款名称" props="termName_">
                    <el-input name="条款名称" v-model="cardSearchParams.termName_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="条款适用产品" props="suitableFund_">
                    <el-input name="条款适用产品" v-model="cardSearchParams.suitableFund_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="条款豁免产品" props="suitableExemptFund_">
                    <el-input name="条款豁免产品" v-model="cardSearchParams.suitableExemptFund_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="来源编号" props="sourceCode_">
                    <el-input name="来源编号" v-model="cardSearchParams.sourceCode_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="来源名称" props="sourceName_">
                    <el-input name="来源名称" v-model="cardSearchParams.sourceName_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="来源版本号" props="sourceVisible_">
                    <el-input name="来源版本号" v-model="cardSearchParams.sourceVisible_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="来源适用产品" props="sourceSuitableFund_">
                    <el-input name="来源适用产品" v-model="cardSearchParams.sourceSuitableFund_" size="mini"></el-input>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="来源状态" props="sourceStatus_">
                    <el-select name="来源状态" v-model="cardSearchParams.sourceStatus_" placeholder="请选择" size="mini">
                        <el-option></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="O32条目编号" props="O32EntryCode_">
                    <el-input name="O32条目编号" v-model="cardSearchParams.O32EntryCode_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="O32风险说明" props="O32EntryName_">
                    <el-input name="O32风险说明" v-model="cardSearchParams.O32EntryName_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="O32条目状态" props="O32EntryStatus_">
                    <el-select name="O32条目状态" v-model="cardSearchParams.O32EntryStatus_" placeholder="请选择" size="mini">
                        <el-option></el-option>
                    </el-select>
                </el-form-item>
                <!-- <el-form-item label="O32条目生效日期" props="O32EntryEffecDate_">
                    <el-input name="O32条目生效日期" v-model="cardSearchParams.O32EntryEffecDate_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="O32条目失效日期" props="O32EntryLoseEffecDate_">
                    <el-input name="O32条目失效日期" v-model="cardSearchParams.O32EntryLoseEffecDate_" size="mini"></el-input>
                </el-form-item> -->
                <el-form-item label="YH条目编号" props="YhEntryCode_">
                    <el-input name="YH条目编号" v-model="cardSearchParams.YhEntryCode_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="YH风险说明" props="YhEntryName_">
                    <el-input name="YH风险说明" v-model="cardSearchParams.YhEntryName_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="YH条目状态" props="YhEntryStatus_">
                    <el-select name="YH条目状态" v-model="cardSearchParams.YhEntryStatus_" placeholder="请选择" size="mini">
                        <el-option></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="YH条目类型" props="YhEntryType_">
                    <el-select name="YH条目类型" v-model="cardSearchParams.YhEntryType_" placeholder="请选择" size="mini">
                        <el-option></el-option>
                    </el-select>
                </el-form-item>
                <!-- <el-form-item label="YH条目生效日期" props="YhEntryEffecDate_">
                    <el-input name="YH条目生效日期" v-model="cardSearchParams.YhEntryEffecDate_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="YH条目失效日期" props="O32EntryLoseEffecDate_">
                    <el-input name="YH条目失效日期" v-model="cardSearchParams.O32EntryLoseEffecDate_" size="mini"></el-input>
                </el-form-item> -->
                <el-form-item label="合规卡备注" props="cardRemark_">
                    <el-input name="合规卡备注" v-model="cardSearchParams.cardRemark_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="合规卡状态" props="cardStatus_">
                    <el-select name="合规卡状态" v-model="cardSearchParams.cardStatus_" placeholder="请选择" size="mini">
                        <el-option></el-option>
                    </el-select>
                </el-form-item>
                <!-- <el-form-item label="创建人" props="creator_">
                    <el-input name="创建人" v-model="cardSearchParams.creator_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="创建时间" props="creatDate_">
                    <el-input name="创建时间" v-model="cardSearchParams.creatDate_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="更新人" props="modifier_">
                    <el-input name="更新人" v-model="cardSearchParams.modifier_" size="mini"></el-input>
                </el-form-item>
                <el-form-item label="更新时间" props="moduifyDate_">
                    <el-input name="更新时间" v-model="cardSearchParams.moduifyDate_" size="mini"></el-input>
                </el-form-item> -->
            </el-col>
        </el-row>
    </el-form>
</template>
<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import { cardSearchReqVO } from '../../vo';

@Component({
    name: 'CardSearch',
    components: {},
})
export default class CardSearch extends Vue {
    @Prop() reqParams;
    cardSearchParams: cardSearchReqVO = {
        cardCode_: '',
        termCode_: '',
        termId_: '',
        termName_: '',
        suitableFund_: '',
        suitableExemptFund_: '',
        sourceCode_: '',
        sourceName_: '',
        sourceVisible_: '',
        sourceSuitableFund_: '',
        sourceType_: '',
        O32EntryCode_: '',
        O32EntryName_: '',
        O32EntryStatus_: '',
        O32EntryEffecDate_: '',
        O32EntryLoseEffecDate_: '',
        YhEntryCode_: '',
        YhEntryName_: '',
        YhEntryStatus_: '',
        YhEntryType_: '',
        YhEntryEffecDate_: '',
        YhEntryLoseEffecDate_: '',
        cardRemark_: '',
        cardStatus_: '',
        creator_: '',
        creatDate_: '',
        modifier_: '',
        moduifyDate_: '',
        sourceStatus_: '',
    };

    originSearchParams: cardSearchReqVO = {
        cardCode_: '',
        termCode_: '',
        termId_: '',
        termName_: '',
        suitableFund_: '',
        suitableExemptFund_: '',
        sourceCode_: '',
        sourceName_: '',
        sourceVisible_: '',
        sourceSuitableFund_: '',
        sourceType_: '',
        O32EntryCode_: '',
        O32EntryName_: '',
        O32EntryStatus_: '',
        O32EntryEffecDate_: '',
        O32EntryLoseEffecDate_: '',
        YhEntryCode_: '',
        YhEntryName_: '',
        YhEntryStatus_: '',
        YhEntryType_: '',
        YhEntryEffecDate_: '',
        YhEntryLoseEffecDate_: '',
        cardRemark_: '',
        cardStatus_: '',
        creator_: '',
        creatDate_: '',
        modifier_: '',
        moduifyDate_: '',
        sourceStatus_: '',
    };
    mounted() {
        this.cardSearchParams = JSON.parse(JSON.stringify(this.reqParams));
    }
    /**
     * 重置
     */
    reset() {
        this.cardSearchParams = JSON.parse(JSON.stringify(this.originSearchParams));
    }
}
</script>
<style lang="scss" scoped>
/deep/ .el-dialog {
    min-width: 910px;
    .el-dialog__body {
        padding: 0 70px 0px 0 !important;
        margin: 20px 0px;
    }
}
/deep/ .el-form-item {
    margin-bottom: 0 !important;
}
/deep/ .el-select {
    width: 100%;
}
</style>
